<template>
  <div>
    <van-nav-bar
      title="中医"
      left-text="返回"
      left-arrow
      @click="onClickLeft"
    />

    <div class="tce">
      <div class="tce-img">
        <img src="../../assets/img/中医.png" alt="" />
      </div>

      <div class="tce-head">
        <div class="tce-ta">
          <img src="../../assets/img/中医2.png" alt="" />
        </div>
        <div class="tce-tb">
          <div class="tce-tb-text">
            <div class="img">
              <img src="../../assets/img/中医3.png" alt="" />
            </div>
            <div class="text-title">
              <div class="text-title-tt">
                <div class="tt-img">
                  <img src="../../assets/img/1头像.png" alt="" />
                  <p><b>赵勇</b></p>
                </div>
                <button class="tt-bth">中医世家</button>
                <button class="tt-bth">百强医院</button>
              </div>
            </div>
            <div class="text-title">
              <p>
                擅长：皮肤病，脱发，脾胃病症，呼吸系统病变，泌尿系统疾病，男性早...
              </p>
            </div>
            <div class="text-price">
              <p class="text-price-pa"><b>￥100.0</b>起</p>
              <button class="text-price-bth">立即咨询</button>
            </div>
          </div>

          <div class="tce-tc-text">
            <div class="img">
              <img src="../../assets/img/中医3.png" alt="" />
            </div>
            <div class="text-title">
              <div class="text-title-tt">
                <div class="tt-img">
                  <img src="../../assets/img/1头像.png" alt="" />
                  <p><b>赵勇</b></p>
                </div>
                <button class="tt-bth">中医世家</button>
                <button class="tt-bth">百强医院</button>
              </div>
            </div>
            <div class="text-title">
              <p>
                擅长：皮肤病，脱发，脾胃病症，呼吸系统病变，泌尿系统疾病，男性早...
              </p>
            </div>
            <div class="text-price">
              <p class="text-price-pa"><b>￥100.0</b>起</p>
              <button class="text-price-bth">立即咨询</button>
            </div>
          </div>

           <div class="tce-tb-text">
            <div class="img">
              <img src="../../assets/img/中医3.png" alt="" />
            </div>
            <div class="text-title">
              <div class="text-title-tt">
                <div class="tt-img">
                  <img src="../../assets/img/1头像.png" alt="" />
                  <p><b>赵勇</b></p>
                </div>
                <button class="tt-bth">中医世家</button>
                <button class="tt-bth">百强医院</button>
              </div>
            </div>
            <div class="text-title">
              <p>
                擅长：皮肤病，脱发，脾胃病症，呼吸系统病变，泌尿系统疾病，男性早...
              </p>
            </div>
            <div class="text-price">
              <p class="text-price-pa"><b>￥100.0</b>起</p>
              <button class="text-price-bth">立即咨询</button>
            </div>
          </div>

          <div class="tce-tc-text">
            <div class="img">
              <img src="../../assets/img/中医3.png" alt="" />
            </div>
            <div class="text-title">
              <div class="text-title-tt">
                <div class="tt-img">
                  <img src="../../assets/img/1头像.png" alt="" />
                  <p><b>赵勇</b></p>
                </div>
                <button class="tt-bth">中医世家</button>
                <button class="tt-bth">百强医院</button>
              </div>
            </div>
            <div class="text-title">
              <p>
                擅长：皮肤病，脱发，脾胃病症，呼吸系统病变，泌尿系统疾病，男性早...
              </p>
            </div>
            <div class="text-price">
              <p class="text-price-pa"><b>￥100.0</b>起</p>
              <button class="text-price-bth">立即咨询</button>
            </div>
          </div>

           <div class="tce-tb-text">
            <div class="img">
              <img src="../../assets/img/中医3.png" alt="" />
            </div>
            <div class="text-title">
              <div class="text-title-tt">
                <div class="tt-img">
                  <img src="../../assets/img/1头像.png" alt="" />
                  <p><b>赵勇</b></p>
                </div>
                <button class="tt-bth">中医世家</button>
                <button class="tt-bth">百强医院</button>
              </div>
            </div>
            <div class="text-title">
              <p>
                擅长：皮肤病，脱发，脾胃病症，呼吸系统病变，泌尿系统疾病，男性早...
              </p>
            </div>
            <div class="text-price">
              <p class="text-price-pa"><b>￥100.0</b>起</p>
              <button class="text-price-bth">立即咨询</button>
            </div>
          </div>

          <div class="tce-tc-text">
            <div class="img">
              <img src="../../assets/img/中医3.png" alt="" />
            </div>
            <div class="text-title">
              <div class="text-title-tt">
                <div class="tt-img">
                  <img src="../../assets/img/1头像.png" alt="" />
                  <p><b>赵勇</b></p>
                </div>
                <button class="tt-bth">中医世家</button>
                <button class="tt-bth">百强医院</button>
              </div>
            </div>
            <div class="text-title">
              <p>
                擅长：皮肤病，脱发，脾胃病症，呼吸系统病变，泌尿系统疾病，男性早...
              </p>
            </div>
            <div class="text-price">
              <p class="text-price-pa"><b>￥100.0</b>起</p>
              <button class="text-price-bth">立即咨询</button>
            </div>
          </div>
        </div>
        
      </div>
      <div class="symptom">
        <div class="symptom-img">
          <img src="../../assets/img/中医4.png" alt="" />
          <span class="sym">更多医生</span>
        </div>
        <div class="symptom-title">
          <van-tabs v-model:active="active">
            <van-tab title="阳痿早泄">
              <div class="sym-text">
                <div class="sym-text-ta">
                  <img src="../../assets/img/头像.png" alt="" />
                  <p><b>孙树业</b>主任医师</p>
                  <p>解放军第二0一医院</p>
                </div>
                <div class="sym-text-ta">
                  <p>擅长：手淫后遗症，阳痿早泄，遗精，前列腺炎，多...</p>
                </div>
                <div class="sym-text-ta">
                  <p class="sym-pa">￥38.0起</p>
                  <button class="sym-bth">立即咨询</button>
                </div>
              </div>
              <div class="sym-tent">
                <div class="sym-text-ta">
                  <img src="../../assets/img/头像.png" alt="" />
                  <p><b>孙树业</b>主任医师</p>
                  <p>解放军第二0一医院</p>
                </div>
                <div class="sym-text-ta">
                  <p>擅长：手淫后遗症，阳痿早泄，遗精，前列腺炎，多...</p>
                </div>
                <div class="sym-text-ta">
                  <p class="sym-pa">￥38.0起</p>
                  <button class="sym-bth">立即咨询</button>
                </div>
              </div>
              <div class="sym-text">
                <div class="sym-text-ta">
                  <img src="../../assets/img/头像.png" alt="" />
                  <p><b>孙树业</b>主任医师</p>
                  <p>解放军第二0一医院</p>
                </div>
                <div class="sym-text-ta">
                  <p>擅长：手淫后遗症，阳痿早泄，遗精，前列腺炎，多...</p>
                </div>
                <div class="sym-text-ta">
                  <p class="sym-pa">￥38.0起</p>
                  <button class="sym-bth">立即咨询</button>
                </div>
              </div>
              <div class="sym-tent">
                <div class="sym-text-ta">
                  <img src="../../assets/img/头像.png" alt="" />
                  <p><b>孙树业</b>主任医师</p>
                  <p>解放军第二0一医院</p>
                </div>
                <div class="sym-text-ta">
                  <p>擅长：手淫后遗症，阳痿早泄，遗精，前列腺炎，多...</p>
                </div>
                <div class="sym-text-ta">
                  <p class="sym-pa">￥38.0起</p>
                  <button class="sym-bth">立即咨询</button>
                </div>
              </div>
            </van-tab>
            <van-tab title="养生调理">
              <div class="sym-text">
                <div class="sym-text-ta">
                  <img src="../../assets/img/头像.png" alt="" />
                  <p><b>孙树业</b>主任医师</p>
                  <p>解放军第二0一医院</p>
                </div>
                <div class="sym-text-ta">
                  <p>擅长：手淫后遗症，阳痿早泄，遗精，前列腺炎，多...</p>
                </div>
                <div class="sym-text-ta">
                  <p class="sym-pa">￥38.0起</p>
                  <button class="sym-bth">立即咨询</button>
                </div>
              </div>
              <div class="sym-tent">
                <div class="sym-text-ta">
                  <img src="../../assets/img/头像.png" alt="" />
                  <p><b>孙树业</b>主任医师</p>
                  <p>解放军第二0一医院</p>
                </div>
                <div class="sym-text-ta">
                  <p>擅长：手淫后遗症，阳痿早泄，遗精，前列腺炎，多...</p>
                </div>
                <div class="sym-text-ta">
                  <p class="sym-pa">￥38.0起</p>
                  <button class="sym-bth">立即咨询</button>
                </div>
              </div>
              <div class="sym-text">
                <div class="sym-text-ta">
                  <img src="../../assets/img/头像.png" alt="" />
                  <p><b>孙树业</b>主任医师</p>
                  <p>解放军第二0一医院</p>
                </div>
                <div class="sym-text-ta">
                  <p>擅长：手淫后遗症，阳痿早泄，遗精，前列腺炎，多...</p>
                </div>
                <div class="sym-text-ta">
                  <p class="sym-pa">￥38.0起</p>
                  <button class="sym-bth">立即咨询</button>
                </div>
              </div>
              <div class="sym-tent">
                <div class="sym-text-ta">
                  <img src="../../assets/img/头像.png" alt="" />
                  <p><b>孙树业</b>主任医师</p>
                  <p>解放军第二0一医院</p>
                </div>
                <div class="sym-text-ta">
                  <p>擅长：手淫后遗症，阳痿早泄，遗精，前列腺炎，多...</p>
                </div>
                <div class="sym-text-ta">
                  <p class="sym-pa">￥38.0起</p>
                  <button class="sym-bth">立即咨询</button>
                </div>
              </div>
            </van-tab>
            <van-tab title="女性健康">
              <div class="sym-text">
                <div class="sym-text-ta">
                  <img src="../../assets/img/头像.png" alt="" />
                  <p><b>孙树业</b>主任医师</p>
                  <p>解放军第二0一医院</p>
                </div>
                <div class="sym-text-ta">
                  <p>擅长：手淫后遗症，阳痿早泄，遗精，前列腺炎，多...</p>
                </div>
                <div class="sym-text-ta">
                  <p class="sym-pa">￥38.0起</p>
                  <button class="sym-bth">立即咨询</button>
                </div>
              </div>
              <div class="sym-tent">
                <div class="sym-text-ta">
                  <img src="../../assets/img/头像.png" alt="" />
                  <p><b>孙树业</b>主任医师</p>
                  <p>解放军第二0一医院</p>
                </div>
                <div class="sym-text-ta">
                  <p>擅长：手淫后遗症，阳痿早泄，遗精，前列腺炎，多...</p>
                </div>
                <div class="sym-text-ta">
                  <p class="sym-pa">￥38.0起</p>
                  <button class="sym-bth">立即咨询</button>
                </div>
              </div>
              <div class="sym-text">
                <div class="sym-text-ta">
                  <img src="../../assets/img/头像.png" alt="" />
                  <p><b>孙树业</b>主任医师</p>
                  <p>解放军第二0一医院</p>
                </div>
                <div class="sym-text-ta">
                  <p>擅长：手淫后遗症，阳痿早泄，遗精，前列腺炎，多...</p>
                </div>
                <div class="sym-text-ta">
                  <p class="sym-pa">￥38.0起</p>
                  <button class="sym-bth">立即咨询</button>
                </div>
              </div>
              <div class="sym-tent">
                <div class="sym-text-ta">
                  <img src="../../assets/img/头像.png" alt="" />
                  <p><b>孙树业</b>主任医师</p>
                  <p>解放军第二0一医院</p>
                </div>
                <div class="sym-text-ta">
                  <p>擅长：手淫后遗症，阳痿早泄，遗精，前列腺炎，多...</p>
                </div>
                <div class="sym-text-ta">
                  <p class="sym-pa">￥38.0起</p>
                  <button class="sym-bth">立即咨询</button>
                </div>
              </div>
            </van-tab>
            <van-tab title="儿童健康">
              <div class="sym-text">
                <div class="sym-text-ta">
                  <img src="../../assets/img/头像.png" alt="" />
                  <p><b>孙树业</b>主任医师</p>
                  <p>解放军第二0一医院</p>
                </div>
                <div class="sym-text-ta">
                  <p>擅长：手淫后遗症，阳痿早泄，遗精，前列腺炎，多...</p>
                </div>
                <div class="sym-text-ta">
                  <p class="sym-pa">￥38.0起</p>
                  <button class="sym-bth">立即咨询</button>
                </div>
              </div>
              <div class="sym-tent">
                <div class="sym-text-ta">
                  <img src="../../assets/img/头像.png" alt="" />
                  <p><b>孙树业</b>主任医师</p>
                  <p>解放军第二0一医院</p>
                </div>
                <div class="sym-text-ta">
                  <p>擅长：手淫后遗症，阳痿早泄，遗精，前列腺炎，多...</p>
                </div>
                <div class="sym-text-ta">
                  <p class="sym-pa">￥38.0起</p>
                  <button class="sym-bth">立即咨询</button>
                </div>
              </div>
              <div class="sym-text">
                <div class="sym-text-ta">
                  <img src="../../assets/img/头像.png" alt="" />
                  <p><b>孙树业</b>主任医师</p>
                  <p>解放军第二0一医院</p>
                </div>
                <div class="sym-text-ta">
                  <p>擅长：手淫后遗症，阳痿早泄，遗精，前列腺炎，多...</p>
                </div>
                <div class="sym-text-ta">
                  <p class="sym-pa">￥38.0起</p>
                  <button class="sym-bth">立即咨询</button>
                </div>
              </div>
              <div class="sym-tent">
                <div class="sym-text-ta">
                  <img src="../../assets/img/头像.png" alt="" />
                  <p><b>孙树业</b>主任医师</p>
                  <p>解放军第二0一医院</p>
                </div>
                <div class="sym-text-ta">
                  <p>擅长：手淫后遗症，阳痿早泄，遗精，前列腺炎，多...</p>
                </div>
                <div class="sym-text-ta">
                  <p class="sym-pa">￥38.0起</p>
                  <button class="sym-bth">立即咨询</button>
                </div>
              </div>
            </van-tab>
          </van-tabs>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue'
const active = ref(0)

const onClickLeft = () => history.back()
</script>

<style lang="scss" scoped>
* {
  font-size: 12px;
}

.tce {
  height: 100%;
  width: 100%;
  background-color: #f8f4eb;
  .tce-img {
    height: 200px;
    width: 100%;
    img {
      height: 100%;
      width: 100%;
    }
  }

  .tce-head {
    height: 100%;
    width: 100%;
    // background-color: orange;
    padding: 10px;

    .tce-ta {
      height: 50px;
      width: 100%;
      text-align: center;
      // background-color: yellow;
      img {
        height: 40px;
        width: 200px;
        margin-top: 5px;
      }
    }
    .tce-tb {
      height: 650px;
      width: 100%;
      background-color: #7c3212;
      padding: 10px;
      .tce-tb-text {
        position: relative;
        float: left;
        padding: 10px;
        height: 200px;
        width: 47%;
        background-color: #fff;
        margin-bottom: 10px;
        .img {
          position: absolute;
          right: 10px;
          // top: 10px;
          img {
            height: 20px;
            width: 60px;
            border-bottom-left-radius: 30px;
          }
        }
        .text-title {
          // position: relative;
          height: 60px;
          width: 100%;
          // background-color: magenta;
          line-height: 20px;
          // border-bottom: 1px solid #000;
          .text-title-tt {
            height: 50px;
            width: 100%;
            background-color: #ffeec7;
            margin-top: 20px;
            border-radius: 5px;
            .tt-img {
              // position: absolute;
              position: relative;
              height: 25px;
              width: 100%;
              // background-color: yellow;
              img {
                position: absolute;
                height: 40px;
                width: 40px;
                top: -20px;
                left: 10px;
                border-radius: 20px;
              }
              p {
                float: left;
                margin-left: 60px;
              }
            }

            .tt-bth {
              float: left;
              height: 25px;
              width: 60px;
              border: none;
              margin-left: 5px;
              border-radius: 5px;
              color: #7c3212;
              background: none;
              border: 1px solid #7c3212;
            }
          }
        }
        .text-price {
          height: 30px;
          width: 100%;
          line-height: 30px;
          // background-color: yellow;
          border-top: 1px solid #000;
          .text-price-pa {
            float: left;
            // border-top: 1px solid #000;
            color: #fd4b20;
          }
          .text-price-bth {
            float: right;
            border: none;
            height: 25px;
            width: 70px;
            border-radius: 50px;
            line-height: 25px;
            margin-top: 3px;
            color: #fff;
            background-color: #fd4b20;
          }
        }
      }
      .tce-tc-text {
        position: relative;
        float: right;
        padding: 10px;
        height: 200px;
        width: 47%;
        background-color: #fff;
        margin-bottom: 10px;
        .img {
          position: absolute;
          right: 10px;
          // top: 10px;
          img {
            height: 20px;
            width: 60px;
            border-bottom-left-radius: 30px;
          }
        }
        .text-title {
          // position: relative;
          height: 60px;
          width: 100%;
          // background-color: magenta;
          line-height: 20px;
          // border-bottom: 1px solid #000;
          .text-title-tt {
            height: 50px;
            width: 100%;
            background-color: #ffeec7;
            margin-top: 20px;
            border-radius: 5px;
            .tt-img {
              // position: absolute;
              position: relative;
              height: 25px;
              width: 100%;
              // background-color: yellow;
              img {
                position: absolute;
                height: 40px;
                width: 40px;
                top: -20px;
                left: 10px;
                border-radius: 20px;
              }
              p {
                float: left;
                margin-left: 60px;
              }
            }

            .tt-bth {
              float: left;
              height: 25px;
              width: 60px;
              border: none;
              margin-left: 5px;
              border-radius: 5px;
              color: #7c3212;
              background: none;
              border: 1px solid #7c3212;
            }
          }
        }
        .text-price {
          height: 30px;
          width: 100%;
          line-height: 30px;
          // background-color: yellow;
          border-top: 1px solid #000;
          .text-price-pa {
            float: left;
            // border-top: 1px solid #000;
            color: #fd4b20;
          }
          .text-price-bth {
            float: right;
            border: none;
            height: 25px;
            width: 70px;
            border-radius: 50px;
            line-height: 25px;
            margin-top: 3px;
            color: #fff;
            background-color: #fd4b20;
          }
        }



        
      }
    }
  }
}

.symptom {
  height: 100%;
  width: 100%;
  // background-color: aqua;
  padding: 10px;
  .symptom-img {
    height: 50px;
    width: 100%;
    text-align: center;
    // background-color: yellow;
    img {
      height: 40px;
      width: 200px;
      margin-top: 5px;
      margin-left: 50px;
    }
    .sym {
      float: right;
      height: 30px;
      width: 70px;
      background-color: #7c3212;
      line-height: 30px;
      margin: 10px 0;
      border-radius: 20px;
      color: #fff;
      font-size: 12px;
    }
  }
  .symptom-title {
    height: 450px;
    width: 100%;
    // background-color: #4dd413;
    padding: 10px;

    .sym-text {
      float: left;
      height: 170px;
      width: 49%;
      background-color: #fff;
      padding: 10px;
      margin-top: 10px;
      .sym-text-ta {
        height: 50px;
        width: 100%;
        // background-color:rgb(111, 251, 5);
        font-size: 11px;
        line-height: 20px;
        padding-top: 5px;
        // border-bottom: 1px solid #000;
        img {
          float: left;
          height: 40px;
          width: 40px;
          border-radius: 50%;
        }
        .sym-pa {
          float: left;
          color: red;
          font-weight: bold;
        }
        .sym-bth {
          float: right;
          color: #fff;
          height: 25px;
          width: 70px;
          background-color: #07e4a2;
          border: none;
          border-radius: 50px;
        }
      }
    }
    .sym-tent {
      float: right;
      height: 170px;
      width: 49%;
      background-color: #fff;
      padding: 10px;
      margin-top: 10px;
      .sym-text-ta {
        height: 50px;
        width: 100%;
        // background-color:rgb(111, 251, 5);
        font-size: 11px;
        line-height: 20px;
        padding-top: 5px;
        // border-bottom: 1px solid #000;
        img {
          float: left;
          height: 40px;
          width: 40px;
          border-radius: 50%;
        }
        .sym-pa {
          float: left;
          color: red;
          font-weight: bold;
        }
        .sym-bth {
          float: right;
          color: #fff;
          height: 25px;
          width: 70px;
          background-color: #07e4a2;
          border: none;
          border-radius: 50px;
        }
      }
    }
  }
}
</style>